package cn.rdq.api.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class BlogShowDto {

    private Long id;

    private Long userId;

    private String username;

    private String userAvatar;

    private String title;

    private String description;

    private String picture;

    private Long views;

    private Long praiseAmount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
